package com.demo1;

/**
 * Created with Interllij IDEA.
 * Descriptiption:
 * User: 王澄慧
 * Date: 2022-04-11
 * Time: 22:02
 */
public class Student {
    private String name;
    int age;
    public double lenght;

    public Student(String name, int age, double lenght) {
        this.name = name;
        this.age = age;
        this.lenght = lenght;
    }

    public void working() {
        System.out.println(this.name+"正在上课！");
    }

    public void runing() {
        System.out.println(this.name+"正在跑步！");
    }
}
